import time

from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()

driver.maximize_window()

driver.get('http://localhost:90')

driver.find_element(By.XPATH,'//*[@id="username"]').send_keys('lisi')
driver.find_element(By.XPATH,'//*[@id="password"]').send_keys('123456')

time.sleep(3)

driver.find_element(By.XPATH,'//*[@id="login_btn"]').click()

time.sleep(3)


driver.quit()